package com.io;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;

public class RandomAccessFileDemo01 {
    public static void main(String[] args) throws IOException {
        RandomAccessFile raf=new RandomAccessFile(new File("D:\\dev\\1\\ra.txt"),"rw");

        raf.writeUTF("ADSFADFSSDFA");
        raf.close();


    }
}
